<extend name="Index:base" />
<block name="title"><title>心心向善-商城首页</title></block>
 <block name="body">

		<div class="nch-breadcrumb-layout">
		</div>
		<link href="__PUBLIC__/Home/css/index.css" rel="stylesheet" type="text/css">
		<script src="__PUBLIC__/Home/js/waypoints.js"></script>
		<script type="text/javascript" src="__PUBLIC__/Home/js/home_index.js" charset="utf-8"></script>
		<style>
			.category {
				display: block !important;
			}
		</style>
		<div class="clear"></div>

		<!-- HomeFocusLayout Begin-->
		<div class="home-focus-layout">
			<ul id="fullScreenSlides" class="full-screen-slides">
				
				<foreach name="adlist_a" item="vo">
				<li style="z-index: 900; display: list-item; background: url({$vo.adv_pic}) 50% 0% no-repeat rgb(237, 217, 192);">
					<a href="{$vo.adv_url}" target="_blank" title="{$vo.adv_title}">&nbsp;</a>
				</li>
				</foreach>

			</ul>
			<div class="banner-arrow">
				<div class="arrow pre" style="opacity: 0;"></div>
				<div class="arrow next" style="opacity: 0;"></div>
			</div>
			<div class="jfocus-trigeminybox">
				<a class="limited_time" title="限时打折" href="#">
					<div class="clock-wrap">
						<div class="clock">
							<div class="clock-h" id="ClockHours" style="-webkit-transform: rotate(93deg);"></div>
							<div class="clock-m"></div>
							<div class="clock-s"></div>
						</div>
					</div>
				</a>
				<div class="jfocus-trigeminy">
					<ul style="left: -1970px; width: 2955px;">
						<foreach name="adlist_4" item="vo">
							<li>
								<foreach name="vo.ppic" item="pvo">
								<a href="{$pvo.url}" target="_blank" title="{$vo.adv_title}" style="opacity: 1;">
									<img src="{$pvo.pic}" alt="#"></a>
							    </foreach>
							</li>
						</foreach>
					</ul>
					<div class="pagination">
						<span style="opacity: 0.4;"></span>
						<span style="opacity: 0.4;"></span>
						<span style="opacity: 1;"></span>
					</div>
					<div class="arrow pre" style="opacity: 0;"></div>
					<div class="arrow next" style="opacity: 0;"></div>
				</div>
			</div>
			<script type="text/javascript">
				update_screen_focus();
			</script>
			<div class="right-sidebar">
				<div class="right-panel">
					<div class="loginBox">
											
							
							<if condition="$username neq ''">
								<div class="exitPanel"> 
									<if condition="$UserInfo.userpic eq ''" >
									<img src="__PUBLIC__/Home/images/default_user_portrait.gif">
									<else/>
									<img src="{$UserInfo.userpic}">
									</if>										
									
									<div class="message">								
										<p class="name">Hi,
											<a href="/member.html">{$username}</a>
										</p>
											<p class="logOut qiueExt">[
											<a href="/out.html">退出登录</a>]</p>
									  </div>
									  <div class="clear"></div>								
								 </div>
						  
								<else/>
								<div class="welcomePanel"> 
									<img src="__PUBLIC__/Home/images/default_user_portrait.gif" alt="">								
							        <p>Hi，欢迎来shop，请登录</p>
								</div>
								</if>								
						

						<!-- 买家信息 -->
						<if condition="$username eq ''">
						<div class="loginPanel"> 
							<a href="/login.html" rel="nofollow"> <span class="loginTxt"><img alt="" src="__PUBLIC__/Home/images/u-me.png">登录</span> </a> <a href="/reguser.html" rel="nofollow"> <span class="reigsterTxt"><img alt="" src="__PUBLIC__/Home/images/u-pencil.png">注册</span> </a> 
						</div>
						<else/>
						<div class="txtPanel">
							<a target="_blank" href="/member/swjydd.html" class="line">
								<p class="num">0</p>
								<p class="txt">待付款</p>
							</a>
							<a target="_blank" href="/member/swjydd.html" class="line">
								<p class="num">0</p>
								<p class="txt">待收货</p>
							</a>
							<a target="_blank" href="/member/swjydd.html">
								<p class="num">0</p>
								<p class="txt">待评价</p>
							</a>
						</div>
						</if>
					</div>
					<div class="securePanel">
						<li><img alt="买家保障" src="__PUBLIC__/Home/images/u-promise.png">
							<p>买家保障</p>
						</li>
						<li><img alt="商家认证" src="__PUBLIC__/Home/images/u-quality.png">
							<p>商家认证</p>
						</li>
						<li><img alt="安全交易" src="__PUBLIC__/Home/images/u-safe.png">
							<p>安全交易</p>
						</li>
					</div>
					<div class="panelimg-side">
						<ul>
							<li>
								<a href="" title="首页右侧广告">
									<img style="width:230px;height:165px" border="0" src="__PUBLIC__/Home/images/05057671828128355.png" alt="">
								</a>
							</li>
						</ul>
					</div>
					<div class="clear"></div>
				</div>
			</div>
		</div>
		<!--HomeFocusLayout End-->

		<div class="home-sale-layout wrapper">
			<div class="left-layout">
				<ul class="tabs-nav">
					<foreach name="prom_list" item="vo">
					
					<li <if condition="$vo.se_goin eq '1'">class="tabs-selected"</if> ><i class="arrow"></i>
						<h3>{$vo.se_name}</h3></li>
					</foreach>	
				</ul>
				<foreach name="prom_list" item="vo">
					
					<div class="tabs-panel sale-goods-list <if condition="$vo.se_goin eq '0'">tabs-hide</if>">
						<ul>
							<foreach name="vo.goods" item="gvo">
							<li>
								<dl>
									<dt class="goods-name">
										<a target="_blank" href="/shop/goods.html?gid={$gvo.id}" title="{$gvo.productname}">{$gvo.productname}</a>
									</dt>
									<dd class="goods-thumb">
										<a target="_blank" href="/shop/goods.html?gid={$gvo.id}">
											<img src="{$gvo.pic}" alt="{$gvo.productname}">
										</a>
									</dd>
									<dd class="goods-price">商城价：<em>¥{$gvo.price}</em></dd>
								</dl>
							</li>
						  </foreach>
						</ul>
					</div>
				</foreach>	

			</div>
			<div class="right-sidebar">
				<div class="title">
					<h3>限时折扣</h3>
				</div>
				<if condition="$xs_list neq ''">
				<div id="saleDiscount" class="sale-discount">
					<ul style="left: 0px; width: 630px;">
						<foreach name="xs_list" item="vo">
						<li>							
							<dl>
								<dt class="goods-name">{$vo.goods_name}</dt>
								<dd class="goods-thumb">
									<a href="{:U('shop/goods')}?gid={$vo.goods_id}"> <img src="{$vo.goods_image}"></a>
								</dd>
								<dd class="goods-price">¥{$vo.xianshi_price} <span class="original">¥{$vo.goods_price}</span></dd>
								<dd class="goods-price-discount"><em>{$vo.xianshi_discount}折</em></dd>
								<dd class="time-remain" count_down="{$vo.end_time}"><i></i><em time_id="d">0</em>天<em time_id="h">0</em>小时 <em time_id="m">0</em>分<em time_id="s">0</em>秒 </dd>
								<dd class="goods-buy-btn"></dd>
							</dl>
						</li>
						</foreach>
						
						
					</ul>
					<div class="pagination"><span style="opacity: 1;"></span><span style="opacity: 0.4;"></span><span style="opacity: 0.4;"></span></div>
					<div class="arrow pre" style="opacity: 0;"></div>
					<div class="arrow next" style="opacity: 0;"></div>
				</div>
				</if>
			</div>
		</div>
		<if condition="$adv_h1.adv_states eq '1'">
		<div class="wrapper">
			<div class="mt10">
				<div class="mt10">
					<a href="#" target="_blank" title="{$adv_h1.adv_title}">
						<img style="width:1200px;height:100px" border="0" src="{$adv_h1.adv_pic}" alt="{$adv_h1.adv_title}">
					</a>
				</div>
			</div>
		</div>
		</if>
		<!--StandardLayout Begin-->
		<foreach name="goods_list" item="vo">
		<if condition="$vo.color neq ''">
		<notempty name="vo.goods">
		<div class="home-standard-layout wrapper {$vo.color}">

			<div class="left-sidebar">
				<div class="title">
					<div class="txt-type">
						<span>{$vo.floor}F</span>
						<h2 title="{$vo.gc_name}">{$vo.gc_name}</h2>
					</div>
				</div>
				<div class="left-ads">
					<a href="{:U('/shop/goods')}?gid={$vo.gg_id}" title="" target="_blank">
						<img src="{$vo.g_pic}" alt="" data-url="{$vo.g_pic}" rel="lazy" style="display: inline;">
					</a>
				</div>
				<div class="recommend-classes">
					<h3>大家还喜欢了</h3>
					<ul>
					<foreach name="vo.gc_son" item="gcvo">
						<li>
							<a href="{:U('shop/fenlei')}?gc_name={$gcvo.gc_name}" title="{$gcvo.gc_name}" target="_blank">{$gcvo.gc_name}</a>
						</li>
					</foreach>
					</ul>
				 </div>

<!-- 				<div class="left-hot-goods">
					<p>热卖促销：</p>
					<ul>
						<li>
							<i></i>
							<a target="_blank" title="新款女装韩版修身A字斗篷棉衣加厚保暖短外套大毛领连帽羽绒棉服 蓝色 M" href="#">新款女装韩版修身A字斗篷棉衣加厚保暖短外套大毛领连帽羽绒棉服 蓝色 M</a>
						</li>
					</ul>
				</div> -->
			</div>
			<div class="middle-layout">
				
				<ul class="tabs-nav">

					<li class="tabs-selected"><i class="arrow"></i>
						<h3>商品推荐</h3></li>
				</ul>
				<div class="right-side-layout">
					<div class="right-side-focus">
						<ul style="left: -716px; width: 1074px;">
							<foreach name="vo.goods" item="gvo">
							<li>
								<a href="{:U('/shop/goods')}?gid={$gvo.id}" title="{$gvo.productname}" target="_blank">
									<img src="{$gvo.pic}" alt="{$gvo.productname}" data-url="{$gvo.pic}" rel="lazy" style="display: inline;"></a>
							</li>
							</foreach>
						</ul>

						<div class="arrow pre" style="opacity: 0;"></div>
						<div class="arrow next" style="opacity: 0;"></div>
					</div>

				</div>

				<div class="tabs-panel middle-banner-list fade-img">
					<ul>
					<foreach name="vo.goods" item="gvo">
						<li>
							<dl>
								<dt class="banner-name" style="top: 158px;">
									<a href="{:U('/shop/goods')}?gid={$gvo.id}" title="{$gvo.productname}" target="_blank">
                                       {$gvo.productname}
									</a>
								</dt>
								<dd class="banner-thumb">
									<a href="{:U('/shop/goods')}?gid={$gvo.id}" title="{$gvo.productname}" class="a1" target="_blank">
										<img src="{$gvo.minpic}" alt="{$gvo.productname}" data-url="{$gvo.minpic}" width="210" height="210" style="display: inline;" ></a>
								</dd>
							</dl>
						</li>
					</foreach>
					</ul>
				</div>
			</div>

		</div>
		</notempty >
		</if>
	</foreach>
		<!--StandardLayout End-->
		<!--热门晒单str v3-b12-->
		<div class="comment">
			<div class="tit">
				<div class="cmttite"><span>
            招商入驻
            </span></div>
				<div class="notice">
					<h3><a>商城公告</a></h3>
				</div>
			</div>
			<div class="cmtcon">
				<div class="cmtleft">
					<div id="con">
						<a target="_blank" title="商家入驻" href=""> <img width="978" height="248" data-url="__PUBLIC__/Home/images/i_store_joinio.png" rel="lazy" alt="" src="__PUBLIC__/Home/images/i_store_joinio.png" style="display: inline;"></a>
					</div>
				</div>
				<div class="cmtrigt">
					<div class="noticecon">
						<div class="proclamation">
							<div class="tabs-panel">
								<div class="tabs-panel">
									<a href="/store_joinin.html" title="商家入驻" class="store-join-btn" target="_blank">商家入驻</a>
									<a href="/store_joinin.html" target="_blank" class="store-join-help"><i class="icon-cog"></i>登录商家中心</a>
								</div>
								<ul class="mall-news">
									<!-- <li>
										<a href="#" title="火爆销售中">火爆销售中 </a>
										<time>(2017-5-1)</time>
									</li> -->
								</ul>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div> 
		<!--热门晒单end-->
		<if condition="$adv_h2.adv_states eq '1'">
		<div class="wrapper mt10">
			<a href="#" target="_blank" title="{$adv_h2.adv_title}"><img style="width:1200px;height:90px" border="0" src="{$adv_h2.adv_pic}" alt="{$adv_h2.adv_title}"></a>
		</div>
		</if>
		<div class="index-link wrapper">
			<dl class="website">
				<dt>合作伙伴 | 友情链接<b></b></dt>
				<dd>
					<!-- <a href="#" target="_blank" title="支持论坛">支持论坛</a> -->
				</dd>
			</dl>
		</div>
		<div class="footer-line"></div>
		<!--首页底部保障开始-->
		<div class="fttff29">
			<div class="warp-all236">
				<div class="mod_agree">
					<ul class="mod_agree_con">

						<li class="mod_agree_item mod_agree_item1">
							<a>
								<img src="__PUBLIC__/Home/images/aafda0df33d2a95e6010.png">
							</a>
							<strong>真品货源</strong>
							<span>正品，优质，放心</span>
						</li>

						<li class="mod_agree_item mod_agree_item2">
							<a><img src="__PUBLIC__/Home/images/f0a5ee0bfc20dd005850.png"></a> 
							<strong>数据互通</strong>
							<span>网站，商家，消费者</span>
						</li>
						<li class="mod_agree_item mod_agree_item3">
							<a><img src="__PUBLIC__/Home/images/72edb29cc2ad2af46000.png"></a> 
							<strong>统一价格</strong>
							<span>拒绝被宰，安心购物</span>
						</li>
						<li class="mod_agree_item mod_agree_item4">
							<a><img src="__PUBLIC__/Home/images/c827005fae642e146280.png"></a> 
							<strong>担保交易</strong>
							<span>支付宝担保，交易更安全</span>
						</li>
						<li class="mod_agree_item mod_agree_item5">
							<a><img src="__PUBLIC__/Home/images/3497c1b195bde1928550.png"></a> 
							<strong>无忧退货</strong><span>7+15无理由退换货</span>
						</li>
						<li class="mod_agree_item mod_agree_item6">
							<a href="#"><img src="__PUBLIC__/Home/images/ea3ff5e9bf84afc34800.png"></a> 
							<strong>惊喜购</strong>
							<span>帮你发现身边的好货</span>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<!--首页底部保障结束-->
 		<div id="nav_box" style="display: none;">
			<ul>
		<foreach name="goods_list" item="vo">
		<if condition="$vo.color neq ''">
		<notempty name="vo.goods">
				<li class="nav_h_1 hover">
					<a href="javascript:;" class="num">{$vo.floor}F</a> 
					<a href="javascript:;" class="word">{$vo.gc_name}</a>
				</li>
		</notempty>
		</if>
		</foreach>
			</ul>
		</div>
 </block>	